home *** CD-ROM | disk | FTP | other *** search
- Date: Tue, 31 May 1994 14:22:28 -0400 (EDT)
- From: Timothy Miller <millert@undergrad.csee.usf.edu>
- Subject: Re: Colour.
- To: gem-list@world.std.com
- In-Reply-To: <9405311101.AA19032@phlem.ph.kcl.ac.uk>
- Message-Id: <Pine.3.87.9405311428.G24733-0100000@undergrad>
- Mime-Version: 1.0
- Precedence: bulk
-
- If the manager handles palette changes automatically, then
-
- there is no need for the app to deliberately register with the manager.
-
- Using facilities in the manager for getting help with building a palette
- would simply set the palette with VDI. Only the app with the window on
- top is allowed to make palette changes, using the manager or not.
-
- The manager would need to LEARN a particular window's palette just before
- it's untopped, because the app may change the palette multiple times
- while the window is on top.
-
- ---
-
- The only argument in favor of registering with the manager is for the
- case where an app sets a palette and expects all of its windows to use
- that same palette. An app would register its 'awareness' with the
- manager. (by appl_id)
-
- an 'aware' app would have palettes switched by the window.
-
- an 'unaware' app would have palettes switched by the application,
- regardless of which window.
-
- The manager would need to determine which app is being made active, as
- well as which window, and for unaware apps, the manager would have to
- manage the palette for the app even if it didn't open a window.
-
- This gets to be a bit complicated, but I'm sure we can simplify it well
- enough.
-
- As they say, the rule of KISS, "Keep It Simple, Stupid!"
- We don't want to be entrapped by the Microsoft/IBM/Intel "make it as
- complicated as possible" syndrome.
-
-
-